﻿
using System;
using SqlSugar;

namespace WebSite.Models
{
    [SugarTable("Account")]
    public class Account
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        public string Name { get; set; } = string.Empty;

        public string Mobile { get; set; }

        public string Avatar { get; set; } = string.Empty;

        public string Title { get; set; } = string.Empty;

        public string UserId { get; set; }

        public string UnionId { get; set; }

        public string Email { get; set; }

        public DateTime? HiredDate { get; set; }

        public string Password { get; set; }

        public string Salt { get; set; }

        public DateTime AddTime { get; set; }

        public DateTime? LastLoginTime { get; set; }
    }
}